package com.sys.entity;

import java.util.Date;
import com.bhudy.annotation.PrimaryKey;

/**
 * @Author 卞洪业
 * @Description 文件管理
 * @Date 2019-10-30 23:09:37
 */
public class SysFile {

    @PrimaryKey
    private Long fileId;    //文件编码
    private String fileName;    //文件名称
    private String filePath;    //文件路径
    private Long fileSize;    //文件大小字节
    private String fileMd5;    //文件MD5
    private String fileContentType;    //文件内容类型
    private String fileExtension;    //文件后缀名
    private String fileMeta;    //文件信息(JSON格式)
    private Long objId;// 外键id
    private String objType;// 外键类型
    private Integer status;    //状态（0正常 1删除 2停用 3冻结）
    private Long createBy;    //创建者
    private Date createDate;    //创建时间
    private Long updateBy;    //更新者
    private Date updateDate;    //更新时间
    private String remark;    //备注信息

    public Long getFileId() {
        return fileId;
    }

    public void setFileId(Long fileId) {
        this.fileId = fileId;
     }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
     }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
     }

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
     }

    public String getFileMd5() {
        return fileMd5;
    }

    public void setFileMd5(String fileMd5) {
        this.fileMd5 = fileMd5;
     }

    public String getFileContentType() {
        return fileContentType;
    }

    public void setFileContentType(String fileContentType) {
        this.fileContentType = fileContentType;
     }

    public String getFileExtension() {
        return fileExtension;
    }

    public void setFileExtension(String fileExtension) {
        this.fileExtension = fileExtension;
     }

    public String getFileMeta() {
        return fileMeta;
    }

    public void setFileMeta(String fileMeta) {
        this.fileMeta = fileMeta;
     }

    public Long getObjId() {
        return objId;
    }

    public void setObjId(Long objId) {
        this.objId = objId;
    }

    public String getObjType() {
        return objType;
    }

    public void setObjType(String objType) {
        this.objType = objType;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
     }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
     }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
     }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
     }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
     }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
     }

}
